package com.zll.dms.constants;

/**
 * 静态变量
 */
public class Constants {
    /**
     * 相应状态码
     */
    public static final int RESPONSE_STATUS_SUCCESS = 200;
    public static final int RESPONSE_STATUS_ERROR = 500;
    public static final int RESPONSE_STATUS_NOLOGIN = 402;
    public static final int RESPONSE_STATUS_NORIGHT = 401;


    /**
     * 主题验证码
     */
    public static final String MAIL_SUBJECT_CODE="验证码";
    /**
     * 内容验证码前缀
     */
    public static final String MAIL_CONTENT_CODE_PRE = "您此次验证码为验证码：";
    /**
     * 内容验证码后缀
     */
    public static final String MAIL_CONTENT_CODE_SUFF = "；有效时间为：";
    /**
     * 验证码有效时间
     */
    public static final long MAIL_CONTENT_CODE_EFFECTIVE = 180000;

    /**
     * 七牛云相关配置
     */
    public static final String QN_ACCESSKEY = "o7vTrbNzIEve35e-AbbMwzcsTQIWFDpmpFaQ6VzA";
    public static final String QN_SECRETKEY  = "k2_AOkvkUub_BPTPAsvaBs-2ttMXcTUxtWXfiAI_";
    /**
     * oss空间名
     */
    public static final String QN_BUCKET = "zll-dms";
    /**
     * 域名
     */
    public static final String QN_DOMAIN = "q7uzckihr.bkt.clouddn.com";


    public static final String SERVER_BASE_URL = "http://localhost:8848/dms/file/";
}
